package fivestar.controller.service.impl;

import java.util.List;

import fivestar.controller.service.StayService;
import fivestar.model.dao.StayDao;

public class StayServiceImpl implements StayService{

	StayDao stayDao;
	
	public void setStayDao(StayDao stayDao) {
		this.stayDao = stayDao;
	}

	@Override
	public List<Object[]> findlByDni(String dni) throws RuntimeException { 
		return stayDao.findlByDni(dni);
	}

}
